package edu.sandau.b230111.b23011125.Service;

import edu.sandau.b230111.b23011125.Global.ContestWithProblems;
import edu.sandau.b230111.b23011125.Global.GlobalEnum;
import edu.sandau.b230111.b23011125.Model.Contest;
import edu.sandau.b230111.b23011125.Model.RankList;
import org.springframework.data.domain.Page;

public interface ContestService {
    public Contest queryContestById(String contestid);
    public Page<Contest> queryAllContest(Integer pageCnt ,Integer pageSize);
    public RankList queryRankListById(String ranklistid);
    public ContestWithProblems queryContestWithProblems(String contestid);
    public GlobalEnum.OperateResult modifyRanklist(String contestid,String userid,String result,String count);
    public Page<RankList> queryAllRankList(String contestid,Integer pageCnt ,Integer pageSize);
}
